from dataclasses import field

from pydantic_settings import BaseSettings


class UploadFileConfig(BaseSettings):

    upload_path: str = field(default="/temp/rag")

    upload_file_size: int = field(default=1024)

    chainlit_auth_secret: str = field(default="")

    class Config:
        env_file = ".env"
        extra = "ignore"

config = UploadFileConfig()

